<?php

namespace App\Models\Admin;

use App\Models\User\User;
use Illuminate\Database\Eloquent\Model;

class Pinion extends Model
{
    protected $table = 'jxt_admin_pinion';
    public $primaryKey = 'id';

    const CREATED_AT = 'create_at';
    const UPDATED_AT = null;

    public function user()
    {
        return $this->belongsTo(User::Class, 'user_id', 'id');
    }

}
